<%@page import="org.apache.commons.lang.StringUtils"%>
<%@page import="org.apache.commons.lang.time.DateFormatUtils"%>
<%@page import="org.springframework.util.CollectionUtils"%>
<%@page import="java.util.Collection"%>
<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
	SiteForm form = (SiteForm)request.getAttribute("command");
	String tab = form.getTab();
%>

<style>
.site-li{
	display: block;
}
.site-li a{
	display:inline-block;
	font-size: 14px;
	height:30px;
	line-height: 30px;
	width:100%;
}

</style>

<div id="childLayout" class="easyui-layout" data-options="fit:true">
	<div data-options="region:'west',split:true,maxWidth:220,collapsible:true,style:{borderWidth:2},onResize:function(){XF.LAYOUT.resizeWest();}" style="background: #f7f7f9;width:220px;" title=" ">
		 <div class="sidebar">
			<div id="sidebar" class="easyui-accordion" style="width:auto;height:auto;">  
				<sec:authorize ifAllGranted="MANAGE_SITE">
				<div title="网站"  style="overflow:auto;padding:10px;">  
					<ul class="site-ul">
						<li class="site-li">
							<a s="PRODUCT_STANDARD" href="javascript:XF.Site.edit('product','PRODUCT_STANDARD')"><span>同城当日件</span></a>
						</li>
						<li class="site-li">
							<a s="PRODUCT_HK" href="javascript:XF.Site.edit('product','PRODUCT_HK')"><span>港澳台专线</span></a>
						</li>
						<li class="site-li">
							<a s="PRODUCT_NATION" href="javascript:XF.Site.edit('product','PRODUCT_NATION')"><span>全国件</span></a>
						</li>
						<li class="site-li">
							<a s="PRODUCT_DAOFU" href="javascript:XF.Site.edit('product','PRODUCT_DAOFU')"><span>到付业务</span></a>
						</li>
						<li class="site-li">
							<a s="PRODUCT_DAISHOU" href="javascript:XF.Site.edit('product','PRODUCT_DAISHOU')"><span>代收货款</span></a>
						</li>
						<li class="site-li">
							<a s="PRODUCT_DAIQIAN" href="javascript:XF.Site.edit('product','PRODUCT_DAIQIAN')"><span>代签货单</span></a>
						</li>												
					</ul>
				</div>

				<div title="关于信丰"  style="overflow:auto;padding:10px;">  
					<ul class="site-ul">
						<li class="site-li">
							<a s="COMPANY_BRIEF" href="javascript:XF.Site.edit('custom','COMPANY_BRIEF')"><span>公司简介</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_SERVICE_IDEA" href="javascript:XF.Site.edit('custom','COMPANY_SERVICE_IDEA')"><span>服务理念</span></a>
						</li>
						<!-- <li class="site-li">
							<a s="COMPANY_BIZ_ADVANTAGE" href="javascript:XF.Site.edit('custom','COMPANY_BIZ_ADVANTAGE')"><span>业务优势</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_TEAM" href="javascript:XF.Site.edit('custom','COMPANY_TEAM')"><span>精英团队</span></a>
						</li> -->
						<li class="site-li">
							<a s="COMPANY_RONGYU" href="javascript:XF.Site.edit('custom','COMPANY_RONGYU')"><span>企业荣誉</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_CISHAN" href="javascript:XF.Site.edit('custom','COMPANY_CISHAN')"><span>公益慈善</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_ADDRESS" href="javascript:XF.Site.edit('custom','COMPANY_ADDRESS')"><span>公司地址</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_NAME" href="javascript:XF.Site.edit('custom','COMPANY_NAME')"><span>公司名称</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_CONTACT_US" href="javascript:XF.Site.edit('custom','COMPANY_CONTACT_US')"><span>联系我们</span></a>
						</li>								
						<!-- <li class="site-li">
							<a s="COMPANY_LINKMAN" href="javascript:XF.Site.edit('custom','COMPANY_LINKMAN')"><span>联系人</span></a>
						</li>						
						<li class="site-li">
							<a s="COMPANY_TEL" href="javascript:XF.Site.edit('custom','COMPANY_TEL')"><span>客户电话</span></a>
						</li>
						<li class="site-li">
							<a s="COMPANY_FREE_TEL" href="javascript:XF.Site.edit('custom','COMPANY_FREE_TEL')"><span>400电话</span></a>
						</li>	 -->					
					</ul> 
				</div>
				<div title="加盟信丰"  style="overflow:auto;padding:10px;">  
					<ul class="site-ul">
						<li class="site-li">
							<a s="JOIN_ADVANTAGE" href="javascript:XF.Site.edit('custom','JOIN_ADVANTAGE')"><span>加盟优势</span></a>
						</li>
						<li class="site-li">
							<a s="JOIN_CONDITION" href="javascript:XF.Site.edit('custom','JOIN_CONDITION')"><span>加盟条件</span></a>
						</li>
						<li class="site-li">
							<a s="JOIN_AREA" href="javascript:XF.Site.edit('custom','JOIN_AREA')"><span>加盟区域</span></a>
						</li>
					</ul>  
				</div>  
				</sec:authorize>
				
				<sec:authorize ifAllGranted="MANAGE_FEEDBACK">
				<div title="客户服务"  style="overflow:auto;padding:10px;">  
					<ul class="site-ul">
						<li class="site-li">
							<a s="JIJIAN_NOTICE" href="javascript:XF.Site.edit('custom','JIJIAN_NOTICE')"><span>寄件注意事项</span></a>
						</li>
						<li class="site-li">
							<a s="JIJIAN_CONTRABAND" href="javascript:XF.Site.edit('custom','JIJIAN_CONTRABAND')"><span>违禁品须知</span></a>
						</li>
						<li class="site-li">
							<a s="feedback" href="javascript:XF.Site.requestUrl('/site/feedbackList','feedback')"><span>投诉与建议</span></a>
						</li>						
					</ul> 
				</div>  
				</sec:authorize>
				
				<sec:authorize ifAllGranted="MANAGE_JOB">
				<div title="人才招聘"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="JOB_IDEA" href="javascript:XF.Site.edit('custom','JOB_IDEA')"><span>人才理念</span></a>
						</li> 
						<li class="site-li">
							<a s="addJob" href="javascript:XF.Site.requestUrl('/site/jobAdd','addJob')"><span>发布职位</span></a>
						</li>
						<li class="site-li">
							<a s="jobList" href="javascript:XF.Site.listJob()"><span>管理职位</span></a>
						</li>
						<li class="site-li">
							<a s="resumeList" href="javascript:XF.Site.listResume()"><span>管理简历</span></a>
						</li> 	
				</div>
				</sec:authorize>
				<sec:authorize ifAllGranted="MANAGE_SITE">
				<div title="新闻管理"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="newsAdd" href="javascript:XF.Site.requestUrl('/site/newsAdd','newsAdd')"><span>发布新闻</span></a>
						</li>
						<li class="site-li">
							<a s="newsList" href="javascript:XF.Site.requestUrl('/site/news','newsList')"><span>管理新闻</span></a>
						</li> 						 
				</div>
				<div title="视频管理"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="videoAdd" href="javascript:XF.Site.requestUrl('/site/videoAdd','videoAdd')"><span>增加视频</span></a>
						</li>
						<li class="site-li">
							<a s="videoList" href="javascript:XF.Site.listVideo()"><span>管理视频</span></a>
						</li> 						 
				</div> 	
				<div title="SEO优化"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="seoList" href="javascript:XF.Site.requestUrl('/site/seo/list','seoList')"><span>SEO管理</span></a>
						</li>
				</div>
				<div title="网站素装"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="siteGray" href="javascript:XF.Site.requestUrl('/site/siteGray','siteGray')"><span>素装管理</span></a>
						</li>
				</div>
				<div title="周刊管理"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="weeklyAdd" href="javascript:XF.Site.requestUrl('/site/weeklyAdd','weeklyAdd')"><span>增加周刊</span></a>
						</li>
						<li class="site-li">
							<a s="weeklyList" href="javascript:XF.Site.listWeekly()"><span>管理周刊</span></a>
						</li> 						 
				</div>
				<div title="蜂蜂APP管理"  style="overflow:auto;padding:10px;">  
						<li class="site-li">
							<a s="appAdd" href="javascript:XF.Site.requestUrl('/site/appAdd','appAdd')"><span>上传APP</span></a>
						</li>
				 
				</div> 	 	 
				</sec:authorize>					 				 				 
			</div> 
		</div>
	</div>
	<div id="siteCenter" class="siteCenter" data-options="region:'center'">
	</div>
</div>
<script type="text/javascript">
	$(function(){
		$('#childLayout').layout();
		
		//XF.Notice.searchNotice();
		XF.NAV.activeTab('"<%=tab%>"');
		
	    $('#sidebar').accordion({
	        animate:true
	    });
	    
	    //XF.Site.requestUrl('/site/news','newsList')
	});
</script>
</html>